@font-face {
    font-family: alimama;
    src: url('../fonts/AlimamaFangYuanTiVF-Thin.ttf');
}

body {
    font-family: 'alimama';
}

.kllxs-form {
    padding: 20px;
}

.layui-table-view .layui-form-radio {
    line-height: normal;
}

.layui-input, .layui-select, .layui-textarea {
    max-height: 100%;
}

.lazyimg {
    display: block;
    height: 100%;
}

.kl-table-img {
    max-width: 100%;
    max-height: 100%;
}

.attribute_list {
    display: inline-flex;
    max-width: 100%;
    max-height: 122px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    overflow: auto;
}

.attribute_list .box {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d2d2d2;
    margin: 10px;
    padding: 10px;
    position: relative;
}

.attribute_list .box img {
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

.attribute_list .box>a {
    position: absolute;
    top: 0;
    right: 0;
}

.attribute_list .box>a i {
    font-size: 20px;
    color: red;
}

.attribute_layer .ls {
    height: 150px;
}

.attribute_layer .ls p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.attribute_layer .img {
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
}

.attribute_layer .img:hover {
    border-color: #ccc;
    cursor: pointer;
}

.attribute_box .layui-input-wrap {
    width: 100%;
}

.layui-layer-page {
    max-width: 100% !important;
    max-height: 100% !important;
}

.attribute_layer img {
    max-width: 100%;
    max-height: 100%;
}